package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NursingLevelService {
    //查询所有护理等级
    List<NursingLevelVo> getlistAll();

    //新增
    void createInsert(NursingLevelDto nursingLevelDto);

    //条件分页查询
    PageResponse<NursingLevelVo> getListByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    //根据id查询
    NursingLevelVo getById(Integer id);


    //修改
    void update(NursingLevelDto nursingLevelDto);



    //删除
    void deleteId(Integer id);

    //启用禁用
    void Enable(Integer id, Integer status);
}
